package com.czxy.vo;

/**
 * 上传文件结果对象
 */
public class UploadResult {

    private boolean success;
    private String url; //文件地址

    public UploadResult() {
    }

    public UploadResult(boolean success, String message) {
        this.success = success;
        this.url = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
